import type { RequestInternal } from "../core"; import type { CommonProviderOptions } from "."; import type { User, Awaitable } from ".."; export interface CredentialInput { label?: string; type?: string; value?: string; placeholder?: string; } export interface CredentialsConfig = Record> extends CommonProviderOptions { type: "credentials"; credentials: C; authorize: (credentials: Record | undefined, req: Pick) => Awaitable; } export declare type CredentialsProvider = >(options: Partial>) => CredentialsConfig; export declare type CredentialsProviderType = "Credentials"; declare type UserCredentialsConfig> = Partial, "options">> & Pick, "authorize" | "credentials">; export default function Credentials = Record>(options: UserCredentialsConfig): CredentialsConfig; export {}; //# sourceMappingURL=credentials.d.ts.map