import { AppContext } from '../types.js';
export declare class GetDataInputType {
    Token: string;
    Queries: string[];
}
export declare class GetDataOutputType {
    Success: boolean;
    Queries: string[];
    ErrorMessages: (string | null)[];
    Results: (string | null)[];
}
export declare class SimpleEntityResultType {
    Success: boolean;
    ErrorMessage?: string;
    Results: SimpleEntityOutputType[];
}
export declare class SimpleEntityOutputType {
    ID: string;
    Name: string;
    Description?: string;
    SchemaName: string;
    BaseView: string;
    BaseTable: string;
    CodeName?: string;
    ClassName?: string;
    Fields: SimpleEntityFieldOutputType[];
}
export declare class SimpleEntityFieldOutputType {
    ID: string;
    Name: string;
    Description?: string;
    Type: string;
    AllowsNull: boolean;
    MaxLength: number;
}
export declare class GetDataResolver {
    GetData(input: GetDataInputType, context: AppContext): Promise<GetDataOutputType>;
    GetAllEntities(context: AppContext): Promise<SimpleEntityResultType>;
}
export declare class TokenUseLog {
    Token: string;
    UsedAt: Date;
    UsePayload: any;
}
export declare class GetDataAccessToken {
    Token: string;
    ExpiresAt: Date;
    RequstedAt: Date;
    RequestorPayload: any;
    TokenUses: TokenUseLog[];
}
export declare function registerAccessToken(token?: string, lifeSpan?: number, requestorPayload?: any): GetDataAccessToken;
export declare function deleteAccessToken(token: string): void;
export declare function tokenExists(token: string): boolean;
export declare function isTokenValid(token: string): boolean;
export declare function recordTokenUse(token: string, usePayload: any): void;
//# sourceMappingURL=GetDataResolver.d.ts.map