import { type DrizzleExecutor } from "../drizzle.js"; import { type IntegrationScope, type IssuedApiCredential } from "../integrations/types.js"; /** * Creates a hashed apiCredentials secret whose scopes are a validated subset of the administrator-managed integration's capabilities. * Storing only the hash with its audit entry makes the returned plaintext a one-time credential and records who expanded external access. */ export declare function apiCredentialCreate(executor: DrizzleExecutor, nowProvider: () => Date, input: { actorUserId: string; integrationId: string; name: string; scopes?: readonly IntegrationScope[]; expiresAt?: string; }): Promise; //# sourceMappingURL=apiCredentialCreate.d.ts.map