It's all of the above.
You'll start with a bunch of questionnaires - usually at least the ADOS test, often the rdos.net test (rather outdatedly called "The Aspie Quiz", but gives much more nuanced results than just a number). There will also be some long-form questions about your childhood, teen years and adulthood (mostly focusing on socialisation and habit-forming), as well as questions about sensory input and perception.
If appropriate, there will be questions for your parents and/or childhood friends, and school reports will also be useful if available.
A few weeks later comes the interview part - this takes the form of at least one 2-4 hour interview, where the assessor will dive more deeply into your experiences, using your written responses to the above as a guide and prompt. This is all going to be about determining specific answers to the questions posed in the DSM and ICD diagnostic criteria.
Some assessors also like to use the "here's a series of pictures, please tell me about the story they're telling" type of test, as well as asking you to describe what's happening in individual pictures. This part's not always necessary, but generally-speaking it's the kind of test where NTs will respond by telling the story of what's happening (ie inferring context and motivation) whereas autistic individuals will mostly just describe the things on the page, often focusing on specific details.
A week or two later, you'll get a detailed report on their findings - the headline is a yes/no, and then there can be anything from 15-50 pages explaining why in more detail relating to the diagnostic criteria, as well as recommendations for next steps and support needs.
Hope that helps :)