/** * A single OAuth2 flow entry as far as the auth UI is concerned. Flows may carry the shared * display-order (`x-order`) and ignore (`x-scalar-ignore` / `x-internal`) extensions. */ type OrderableFlow = { 'x-order'?: number; 'x-internal'?: boolean; 'x-scalar-ignore'?: boolean; }; /** * Returns the OAuth2 flow keys to show in the auth UI, in display order. * * Flows marked with `x-scalar-ignore` (or `x-internal`) are dropped. The rest are sorted by * `x-order` ascending, with ordered flows first and unordered flows keeping their document order. * The first key in the result is the default (pre-selected) flow tab, so giving a flow the lowest * `x-order` both moves it to the front and makes it the default. */ export declare const getVisibleOrderedFlowKeys: >(flows: T | undefined) => (keyof T)[]; export {}; //# sourceMappingURL=oauth-flows.d.ts.map