import { z } from 'zod';
import { type InferProvider } from './capability-definition.js';
declare const AuthResultSchema: z.ZodObject<{
    userId: z.ZodString;
    username: z.ZodString;
    email: z.ZodOptional<z.ZodString>;
    displayName: z.ZodOptional<z.ZodString>;
    isAdmin: z.ZodDefault<z.ZodBoolean>;
}, z.core.$strip>;
export declare const authProviderCapability: {
    readonly name: "auth-provider";
    readonly scope: "system";
    readonly mode: "collection";
    readonly internal: true;
    readonly methods: {
        readonly validateCredentials: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            username: z.ZodString;
            password: z.ZodString;
        }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
            userId: z.ZodString;
            username: z.ZodString;
            email: z.ZodOptional<z.ZodString>;
            displayName: z.ZodOptional<z.ZodString>;
            isAdmin: z.ZodDefault<z.ZodBoolean>;
        }, z.core.$strip>>, "mutation">;
        readonly getLoginUrl: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            state: z.ZodString;
        }, z.core.$strip>, z.ZodString, import("./capability-definition.js").CapabilityMethodKind>;
        readonly handleCallback: import("./capability-definition.js").CapabilityMethodSchema<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodObject<{
            userId: z.ZodString;
            username: z.ZodString;
            email: z.ZodOptional<z.ZodString>;
            displayName: z.ZodOptional<z.ZodString>;
            isAdmin: z.ZodDefault<z.ZodBoolean>;
        }, z.core.$strip>, "mutation">;
        readonly validateToken: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
            token: z.ZodString;
        }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
            userId: z.ZodString;
            username: z.ZodString;
            email: z.ZodOptional<z.ZodString>;
            displayName: z.ZodOptional<z.ZodString>;
            isAdmin: z.ZodDefault<z.ZodBoolean>;
        }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
    };
};
export type IAuthProvider = InferProvider<typeof authProviderCapability>;
export { AuthResultSchema };
//# sourceMappingURL=auth-provider.cap.d.ts.map