import { z } from 'zod'; import { APIClient } from '@agentuity/api'; export declare const OrgS3Resource: z.ZodObject<{ bucket_name: z.ZodString; access_key: z.ZodOptional>; secret_key: z.ZodOptional>; region: z.ZodOptional>; endpoint: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; bucket_type: z.ZodString; internal: z.ZodBoolean; description: z.ZodOptional>; object_count: z.ZodOptional; total_size: z.ZodOptional; last_event_at: z.ZodOptional; }, z.core.$strip>; export declare const OrgDBResource: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional>; username: z.ZodOptional>; password: z.ZodOptional>; url: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; internal: z.ZodBoolean; }, z.core.$strip>; export declare const OrgResourceListResponse: z.ZodObject<{ s3: z.ZodArray>; secret_key: z.ZodOptional>; region: z.ZodOptional>; endpoint: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; bucket_type: z.ZodString; internal: z.ZodBoolean; description: z.ZodOptional>; object_count: z.ZodOptional; total_size: z.ZodOptional; last_event_at: z.ZodOptional; }, z.core.$strip>>; db: z.ZodArray>; username: z.ZodOptional>; password: z.ZodOptional>; url: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; internal: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; export declare const OrgResourceListResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; code: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ s3: z.ZodArray>; secret_key: z.ZodOptional>; region: z.ZodOptional>; endpoint: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; bucket_type: z.ZodString; internal: z.ZodBoolean; description: z.ZodOptional>; object_count: z.ZodOptional; total_size: z.ZodOptional; last_event_at: z.ZodOptional; }, z.core.$strip>>; db: z.ZodArray>; username: z.ZodOptional>; password: z.ZodOptional>; url: z.ZodOptional>; cloud_region: z.ZodString; org_id: z.ZodString; org_name: z.ZodString; internal: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>], "success">; export type OrgResourceListResponse = z.infer; export type OrgResourceList = z.infer; export type OrgS3Resource = z.infer; export type OrgDBResource = z.infer; export type ResourceSortField = 'name' | 'created' | 'region'; export declare const ResourceSortFieldSchema: z.ZodEnum<{ created: "created"; name: "name"; region: "region"; }>; export declare const ListOrgResourcesOptionsSchema: z.ZodObject<{ type: z.ZodOptional>; name: z.ZodOptional; orgId: z.ZodOptional; limit: z.ZodOptional; offset: z.ZodOptional; sort: z.ZodOptional>; direction: z.ZodOptional>; }, z.core.$strip>; export type ListOrgResourcesOptions = z.infer; /** * List all resources for the authenticated organization (across all regions) * * @param client - Catalyst API client (must be authenticated) * @param options - Optional filters including orgId for CLI auth * @returns List of S3 and DB resources with their cloud regions * * @example * // Get all resources (SDK auth - orgId from context) * const all = await listOrgResources(client); * * @example * // Get all resources (CLI auth - orgId required) * const all = await listOrgResources(client, { orgId: 'org_123' }); * * @example * // Get only S3 buckets * const s3Only = await listOrgResources(client, { type: 's3', orgId: 'org_123' }); * * @example * // Get only DBs * const dbsOnly = await listOrgResources(client, { type: 'db', orgId: 'org_123' }); */ export declare function listOrgResources(client: APIClient, options?: ListOrgResourcesOptions): Promise; //# sourceMappingURL=resources.d.ts.map