import { z } from 'zod'; import { type APIClient } from '../api.ts'; export declare const StreamListItemSchema: z.ZodObject<{ id: z.ZodString; namespace: z.ZodString; metadata: z.ZodRecord; url: z.ZodString; sizeBytes: z.ZodNumber; expiresAt: z.ZodNullable; orgId: z.ZodString; projectId: z.ZodNullable; projectName: z.ZodNullable; }, z.core.$strip>; export declare const StreamListDataSchema: z.ZodObject<{ streams: z.ZodArray; url: z.ZodString; sizeBytes: z.ZodNumber; expiresAt: z.ZodNullable; orgId: z.ZodString; projectId: z.ZodNullable; projectName: z.ZodNullable; }, z.core.$strip>>; total: z.ZodNumber; }, z.core.$strip>; export declare const StreamListResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; code: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ streams: z.ZodArray; url: z.ZodString; sizeBytes: z.ZodNumber; expiresAt: z.ZodNullable; orgId: z.ZodString; projectId: z.ZodNullable; projectName: z.ZodNullable; }, z.core.$strip>>; total: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>], "success">; export type StreamListResponse = z.infer; export type StreamListData = z.infer; export type StreamListItem = z.infer; export declare const StreamListOptionsSchema: z.ZodObject<{ projectId: z.ZodOptional; orgId: z.ZodOptional; namespace: z.ZodOptional; name: z.ZodOptional; limit: z.ZodOptional; offset: z.ZodOptional; metadata: z.ZodOptional>; sort: z.ZodOptional; direction: z.ZodOptional>; }, z.core.$strip>; export type StreamListOptions = z.infer; /** * List streams with optional filtering. * * If no projectId or orgId is provided, returns streams from all orgs the user is a member of. * * @param client - The API client * @param options - Filtering and pagination options * @returns A promise that resolves to the list of streams with metadata * * @example * // List all streams across all orgs * const result = await streamList(client); * console.log(`Found ${result.total} streams`); * * @example * // List streams for a specific project * const result = await streamList(client, { projectId: 'proj_123' }); * * @example * // List streams with namespace filter * const result = await streamList(client, { namespace: 'agent-logs' }); * * @example * // List streams with metadata filter * const result = await streamList(client, { * metadata: { type: 'export', env: 'production' } * }); */ export declare function streamList(client: APIClient, options?: StreamListOptions): Promise; //# sourceMappingURL=list.d.ts.map