/** * The UI that's displayed when loading the root page of the OpenAuth server. You can configure * which providers should be displayed in the select UI. * * ```ts * import { Select } from "@openauthjs/openauth/ui/select" * * export default issuer({ * select: Select({ * providers: { * github: { * hide: true * }, * google: { * display: "Google" * } * } * }) * // ... * }) * ``` * * @packageDocumentation */ /** @jsxImportSource hono/jsx */ export interface SelectProps { /** * An object with all the providers and their config; where the key is the provider name. * * @example * ```ts * { * github: { * hide: true * }, * google: { * display: "Google" * } * } * ``` */ providers?: Record; } export declare function Select(props?: SelectProps): (providers: Record, _req: Request) => Promise; //# sourceMappingURL=select.d.ts.map