import { AppContext } from '../types.js';
export declare class RunQueryInput {
    QueryID?: string;
    QueryName?: string;
    CategoryID?: string;
    CategoryPath?: string;
    Parameters?: Record<string, unknown>;
    MaxRows?: number;
    StartRow?: number;
    ForceAuditLog?: boolean;
    AuditLogDescription?: string;
}
export declare class RunQueryResultType {
    QueryID: string;
    QueryName: string;
    Success: boolean;
    Results: string;
    RowCount: number;
    TotalRowCount: number;
    ExecutionTime: number;
    ErrorMessage: string;
    AppliedParameters?: string;
    CacheHit?: boolean;
    CacheTTLRemaining?: number;
}
export declare class RunQueryCacheStatusInput {
    maxUpdatedAt: string;
    rowCount: number;
}
export declare class RunQueryWithCacheCheckInput {
    params: RunQueryInput;
    cacheStatus?: RunQueryCacheStatusInput;
}
export declare class RunQueryWithCacheCheckResultOutput {
    queryIndex: number;
    queryId: string;
    status: string;
    Results?: string;
    maxUpdatedAt?: string;
    rowCount?: number;
    errorMessage?: string;
}
export declare class RunQueriesWithCacheCheckOutput {
    success: boolean;
    results: RunQueryWithCacheCheckResultOutput[];
    errorMessage?: string;
}
export declare class RunQueryResolver {
    private findQuery;
    GetQueryData(QueryID: string, context: AppContext, CategoryID?: string, CategoryPath?: string, Parameters?: Record<string, any>, MaxRows?: number, StartRow?: number, ForceAuditLog?: boolean, AuditLogDescription?: string): Promise<RunQueryResultType>;
    GetQueryDataByName(QueryName: string, context: AppContext, CategoryID?: string, CategoryPath?: string, Parameters?: Record<string, any>, MaxRows?: number, StartRow?: number, ForceAuditLog?: boolean, AuditLogDescription?: string): Promise<RunQueryResultType>;
    GetQueryDataSystemUser(QueryID: string, context: AppContext, CategoryID?: string, CategoryPath?: string, Parameters?: Record<string, any>, MaxRows?: number, StartRow?: number, ForceAuditLog?: boolean, AuditLogDescription?: string): Promise<RunQueryResultType>;
    GetQueryDataByNameSystemUser(QueryName: string, context: AppContext, CategoryID?: string, CategoryPath?: string, Parameters?: Record<string, any>, MaxRows?: number, StartRow?: number, ForceAuditLog?: boolean, AuditLogDescription?: string): Promise<RunQueryResultType>;
    RunQueries(input: RunQueryInput[], context: AppContext): Promise<RunQueryResultType[]>;
    RunQueriesSystemUser(input: RunQueryInput[], context: AppContext): Promise<RunQueryResultType[]>;
    RunQueriesWithCacheCheck(input: RunQueryWithCacheCheckInput[], context: AppContext): Promise<RunQueriesWithCacheCheckOutput>;
    RunQueriesWithCacheCheckSystemUser(input: RunQueryWithCacheCheckInput[], context: AppContext): Promise<RunQueriesWithCacheCheckOutput>;
}
//# sourceMappingURL=QueryResolver.d.ts.map