import type { ExistingDocument } from '../../core/models/api/document';
import type { ComponentApiRequestContext } from '../../core/services/types';
import type { QueryOptions } from '../types';
/**
 * Variables:
 * * `documentId`
 */
export type QueryKeyDocument = ['document', string];
export declare const getDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
export declare const useDocument: (documentId: string, options?: QueryOptions<ExistingDocument>) => import("@tanstack/preact-query").UseQueryResult<ExistingDocument, Error>;
