import { HttpHandler, type BodyParser, type HttpHandlerInput, type HttpRequest, type HttpResponse, type ResourceStore } from '@solid/community-server'; export interface InternalPodDataHttpHandlerOptions { resourceStore: ResourceStore; gatewayAdminProxyAuthSecret?: string; patchBodyParser?: BodyParser; sparqlHandler?: InternalPodDataTrustedSparqlHandler; baseUrl?: string; basePath?: string; } /** Narrow trusted bridge used only after the signed internal intent has been * validated. The implementation must re-check the owner/collection boundary. */ export interface InternalPodDataTrustedSparqlHandler { handleTrustedInternalSelect(input: { ownerWebId: string; endpointUrl: string; query: string; request: HttpRequest; response: HttpResponse; }): Promise; handleTrustedInternalUpdate(input: { ownerWebId: string; endpointUrl: string; query: string; request: HttpRequest; response: HttpResponse; }): Promise; } export declare class InternalPodDataHttpHandler extends HttpHandler { protected readonly logger: import("global-logger-factory").Logger; private readonly resourceStore; private readonly gatewayAdminProxyAuthSecret?; private readonly patchBodyParser?; private readonly sparqlHandler?; private readonly deploymentBaseUrl?; private readonly basePath; private readonly seenNonces; private readonly eTagHandler; private readonly conditionsParser; constructor(options: InternalPodDataHttpHandlerOptions); canHandle({ request }: HttpHandlerInput): Promise; handle({ request, response }: HttpHandlerInput): Promise; private verifyRequest; private logRejectedRequest; private intentMatchesRequest; private isHostedOwnerResource; private isAllowedAiConnectionResource; private delegate; private createRepresentation; private writeETag; private createPatch; private pipeRepresentation; private writeNotFound; private writeEmptyGraph; private requestPathname; private parseOptionalUrl; private isInsideDeployment; }