export declare const authGrantsRouter: import("@trpc/server").TRPCBuiltRouter<{
    ctx: import(".././routes/index").Context;
    meta: import(".././routes/index").RouteMetadata;
    errorShape: import("@trpc/server").TRPCDefaultErrorShape;
    transformer: true;
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
    addAuthGrant: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            name?: string | undefined;
            description?: string | undefined;
            expiresAt?: string | null | undefined;
            scope?: string | undefined;
        };
        output: string;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getAuthGrant: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            id: string;
        };
        output: {
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
            challenge?: string | undefined;
            status?: "active" | "revoked" | undefined;
            scope?: string | undefined;
            createdAt?: string | undefined;
            expiresAt?: string | null | undefined;
        } | undefined;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    getAuthGrants: import("@trpc/server").TRPCQueryProcedure<{
        input: {
            limit?: number | undefined;
            cursor?: string | undefined;
            query?: {
                id?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                name?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                description?: string | {
                    $in: string[];
                } | {
                    $regex: string | RegExp;
                } | {
                    $or: (string | {
                        $in: string[];
                    } | {
                        $regex: string | RegExp;
                    })[];
                } | undefined;
                status?: "active" | "revoked" | undefined;
            } | undefined;
        } | undefined;
        output: {
            id: string;
            name: string;
            challenge: string;
            status: "active" | "revoked";
            scope: string;
            createdAt: string;
            description?: string | undefined;
            expiresAt?: string | null | undefined;
        }[];
        meta: import(".././routes/index").RouteMetadata;
    }>;
    updateAuthGrant: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            id: string;
            updates: {
                name?: string | undefined;
                description?: string | undefined;
            };
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    revokeAuthGrant: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            id: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
    deleteAuthGrant: import("@trpc/server").TRPCMutationProcedure<{
        input: {
            id: string;
        };
        output: boolean;
        meta: import(".././routes/index").RouteMetadata;
    }>;
}>>;
export type AuthGrantsRouter = typeof authGrantsRouter;
//# sourceMappingURL=auth-grants.d.ts.map