import * as Types from "../../../__generated__/types.js";
import * as gm from "graphql-modules";
export declare namespace AuthModule {
    interface DefinedFields {
        Query: 'listApiKeys' | 'listBusinessUsers' | 'listInvitations';
        Mutation: 'createInvitation' | 'acceptInvitation' | 'generateApiKey' | 'revokeApiKey' | 'removeBusinessUser' | 'revokeInvitation';
        InvitationPayload: 'id' | 'email' | 'roleId' | 'expiresAt' | 'token';
        Invitation: 'id' | 'email' | 'roleId' | 'expiresAt';
        AcceptInvitationPayload: 'success' | 'businessId' | 'roleId';
        GenerateApiKeyPayload: 'apiKey' | 'record';
        ApiKey: 'id' | 'name' | 'roleId' | 'lastUsedAt' | 'createdAt';
        BusinessUser: 'id' | 'email' | 'name' | 'roleId' | 'createdAt';
    }
    export type Query = Pick<Types.Query, DefinedFields['Query']>;
    export type ApiKey = Pick<Types.ApiKey, DefinedFields['ApiKey']>;
    export type BusinessUser = Pick<Types.BusinessUser, DefinedFields['BusinessUser']>;
    export type Invitation = Pick<Types.Invitation, DefinedFields['Invitation']>;
    export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
    export type InvitationPayload = Pick<Types.InvitationPayload, DefinedFields['InvitationPayload']>;
    export type AcceptInvitationPayload = Pick<Types.AcceptInvitationPayload, DefinedFields['AcceptInvitationPayload']>;
    export type GenerateApiKeyPayload = Pick<Types.GenerateApiKeyPayload, DefinedFields['GenerateApiKeyPayload']>;
    export type DateTime = Types.DateTime;
    export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
    export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
    export type InvitationPayloadResolvers = Pick<Types.InvitationPayloadResolvers, DefinedFields['InvitationPayload']>;
    export type InvitationResolvers = Pick<Types.InvitationResolvers, DefinedFields['Invitation']>;
    export type AcceptInvitationPayloadResolvers = Pick<Types.AcceptInvitationPayloadResolvers, DefinedFields['AcceptInvitationPayload']>;
    export type GenerateApiKeyPayloadResolvers = Pick<Types.GenerateApiKeyPayloadResolvers, DefinedFields['GenerateApiKeyPayload']>;
    export type ApiKeyResolvers = Pick<Types.ApiKeyResolvers, DefinedFields['ApiKey']>;
    export type BusinessUserResolvers = Pick<Types.BusinessUserResolvers, DefinedFields['BusinessUser']>;
    export interface Resolvers {
        Query?: QueryResolvers;
        Mutation?: MutationResolvers;
        InvitationPayload?: InvitationPayloadResolvers;
        Invitation?: InvitationResolvers;
        AcceptInvitationPayload?: AcceptInvitationPayloadResolvers;
        GenerateApiKeyPayload?: GenerateApiKeyPayloadResolvers;
        ApiKey?: ApiKeyResolvers;
        BusinessUser?: BusinessUserResolvers;
    }
    export interface MiddlewareMap {
        '*'?: {
            '*'?: gm.Middleware[];
        };
        Query?: {
            '*'?: gm.Middleware[];
            listApiKeys?: gm.Middleware[];
            listBusinessUsers?: gm.Middleware[];
            listInvitations?: gm.Middleware[];
        };
        Mutation?: {
            '*'?: gm.Middleware[];
            createInvitation?: gm.Middleware[];
            acceptInvitation?: gm.Middleware[];
            generateApiKey?: gm.Middleware[];
            revokeApiKey?: gm.Middleware[];
            removeBusinessUser?: gm.Middleware[];
            revokeInvitation?: gm.Middleware[];
        };
        InvitationPayload?: {
            '*'?: gm.Middleware[];
            id?: gm.Middleware[];
            email?: gm.Middleware[];
            roleId?: gm.Middleware[];
            expiresAt?: gm.Middleware[];
            token?: gm.Middleware[];
        };
        Invitation?: {
            '*'?: gm.Middleware[];
            id?: gm.Middleware[];
            email?: gm.Middleware[];
            roleId?: gm.Middleware[];
            expiresAt?: gm.Middleware[];
        };
        AcceptInvitationPayload?: {
            '*'?: gm.Middleware[];
            success?: gm.Middleware[];
            businessId?: gm.Middleware[];
            roleId?: gm.Middleware[];
        };
        GenerateApiKeyPayload?: {
            '*'?: gm.Middleware[];
            apiKey?: gm.Middleware[];
            record?: gm.Middleware[];
        };
        ApiKey?: {
            '*'?: gm.Middleware[];
            id?: gm.Middleware[];
            name?: gm.Middleware[];
            roleId?: gm.Middleware[];
            lastUsedAt?: gm.Middleware[];
            createdAt?: gm.Middleware[];
        };
        BusinessUser?: {
            '*'?: gm.Middleware[];
            id?: gm.Middleware[];
            email?: gm.Middleware[];
            name?: gm.Middleware[];
            roleId?: gm.Middleware[];
            createdAt?: gm.Middleware[];
        };
    }
    export {};
}
