import { ApiKey, ApiKeyCreationOptions, ApiKeyType } from "../lib/stack-app/api-keys/index.js"; import * as react_jsx_runtime0 from "react/jsx-runtime"; //#region src/components/api-key-dialogs.d.ts declare const neverInMs: number; declare const expiresInOptions: { readonly [x: number]: "1 day" | "7 days" | "30 days" | "90 days" | "1 year" | "Never"; }; /** * Dialog for creating a new API key */ declare function CreateApiKeyDialog(props: { open: boolean; onOpenChange: (open: boolean) => void; onKeyCreated?: (key: ApiKey) => void; createApiKey: (data: ApiKeyCreationOptions) => Promise>; mockMode?: boolean; }): react_jsx_runtime0.JSX.Element; /** * Dialog for showing the newly created API key */ declare function ShowApiKeyDialog(props: { apiKey: ApiKey | null; onClose?: () => void; }): react_jsx_runtime0.JSX.Element; //#endregion export { CreateApiKeyDialog, ShowApiKeyDialog, expiresInOptions, neverInMs }; //# sourceMappingURL=api-key-dialogs.d.ts.map