import { z } from 'zod'; import { APIClient } from '@agentuity/api'; /** * Validates a database name for PostgreSQL compatibility. * Matches the server-side validation in catalyst. */ export declare function validateDatabaseName(name: string): { valid: boolean; error?: string; }; /** * Validates an S3 bucket name according to AWS S3 naming rules. * Matches the server-side validation in catalyst. */ export declare function validateBucketName(name: string): { valid: boolean; error?: string; }; /** * Validates a key-value namespace name. * Matches the HTTP KV API path parameter limit in catalyst. */ export declare function validateNamespaceName(name: string): { valid: boolean; error?: string; }; export declare const ResourceSpec: z.ZodObject<{ type: z.ZodEnum<{ db: "db"; kv: "kv"; s3: "s3"; }>; name: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>; export declare const CreateResourcesRequest: z.ZodObject<{ resources: z.ZodArray; name: z.ZodOptional; description: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const CreatedResource: z.ZodObject<{ type: z.ZodString; name: z.ZodString; env: z.ZodRecord; }, z.core.$strip>; export declare const CreateResourcesResponse: z.ZodObject<{ created: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export declare const CreateResourcesResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; code: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ created: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>], "success">; export type CreateResourcesRequest = z.infer; export type CreateResourcesResponse = z.infer; export type CreatedResource = z.infer; /** * Create one or more resources (DB, S3, or KV) for an organization in a specific region * Requires CLI authentication * * @param client - Catalyst API client * @param orgId - Organization ID * @param region - Cloud region * @param resources - Array of resources to create * @returns */ export declare function createResources(client: APIClient, orgId: string, region: string, resources: Array<{ type: 'db' | 's3' | 'kv'; name?: string; description?: string; }>): Promise; //# sourceMappingURL=create.d.ts.map