import { AI_CONNECTIONS_PROVIDER_DOCUMENT_IDS } from '@undefineds.co/ai-connections/provider-catalog'; export declare const AI_CONNECTIONS_APPLET_ID = "co.undefineds.ai-connections"; /** * Provider documents this service may reach. The list is projected from the * shared provider/offering catalogue (`` plus * `-`); re-exported here because the service-access * descriptor is the server-side consumer of that one source, and the applet's * descriptor validator reads the same constant. */ export { AI_CONNECTIONS_PROVIDER_DOCUMENT_IDS }; export interface AiConnectionsServiceAccessDescriptor { appletId: typeof AI_CONNECTIONS_APPLET_ID; service: { webId: string; label: 'Xpod AI Connection'; }; resources: AiConnectionsServiceAccessResource[]; } export interface AiConnectionsServiceAccessResource { id: 'providerCredentials' | 'providerDefinitions' | 'gatewayAccessKeys' | 'gatewayAccessKeySecrets' | 'quotaSnapshots' | `providerDocument:${string}`; url: string; mediaType: 'text/turtle' | 'application/json'; access: { read: true; append: true; write: true; controlRead?: never; controlWrite?: never; }; } export declare function createAiConnectionsServiceAccess(input: { ownerWebId: string; serviceWebId: string; podBaseUrl?: string; }): AiConnectionsServiceAccessDescriptor; export declare function resolveGatewayAccessKeyResourceUrl(ownerWebId: string, podBaseUrl?: string): string; export declare function resolveGatewayAccessKeySecretResourceUrl(ownerWebId: string, podBaseUrl?: string): string; export declare function resolveGatewayAccessKeySparqlEndpoint(ownerWebId: string, podBaseUrl?: string): string; export declare function isGatewayAccessKeySparqlEndpoint(ownerWebId: string, resourceUrlValue: URL | string): boolean;