import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Documents Folders Filter
 */
export type DocumentsListFoldersQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type DocumentsListFoldersRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Documents Folders Filter
     */
    filter?: DocumentsListFoldersQueryParamFilter | null | undefined;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type DocumentsListFoldersResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The list of folders was retrieved.
     */
    foldersPaginated?: shared.FoldersPaginated | undefined;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const DocumentsListFoldersQueryParamFilter$inboundSchema: z.ZodType<DocumentsListFoldersQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsListFoldersQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const DocumentsListFoldersQueryParamFilter$outboundSchema: z.ZodType<DocumentsListFoldersQueryParamFilter$Outbound, z.ZodTypeDef, DocumentsListFoldersQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsListFoldersQueryParamFilter$ {
    /** @deprecated use `DocumentsListFoldersQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsListFoldersQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsListFoldersQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsListFoldersQueryParamFilter$Outbound, z.ZodTypeDef, DocumentsListFoldersQueryParamFilter>;
    /** @deprecated use `DocumentsListFoldersQueryParamFilter$Outbound` instead. */
    type Outbound = DocumentsListFoldersQueryParamFilter$Outbound;
}
export declare function documentsListFoldersQueryParamFilterToJSON(documentsListFoldersQueryParamFilter: DocumentsListFoldersQueryParamFilter): string;
export declare function documentsListFoldersQueryParamFilterFromJSON(jsonString: string): SafeParseResult<DocumentsListFoldersQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const DocumentsListFoldersRequest$inboundSchema: z.ZodType<DocumentsListFoldersRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsListFoldersRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: DocumentsListFoldersQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const DocumentsListFoldersRequest$outboundSchema: z.ZodType<DocumentsListFoldersRequest$Outbound, z.ZodTypeDef, DocumentsListFoldersRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsListFoldersRequest$ {
    /** @deprecated use `DocumentsListFoldersRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsListFoldersRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsListFoldersRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsListFoldersRequest$Outbound, z.ZodTypeDef, DocumentsListFoldersRequest>;
    /** @deprecated use `DocumentsListFoldersRequest$Outbound` instead. */
    type Outbound = DocumentsListFoldersRequest$Outbound;
}
export declare function documentsListFoldersRequestToJSON(documentsListFoldersRequest: DocumentsListFoldersRequest): string;
export declare function documentsListFoldersRequestFromJSON(jsonString: string): SafeParseResult<DocumentsListFoldersRequest, SDKValidationError>;
/** @internal */
export declare const DocumentsListFoldersResponse$inboundSchema: z.ZodType<DocumentsListFoldersResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsListFoldersResponse$Outbound = {
    ContentType: string;
    FoldersPaginated?: shared.FoldersPaginated$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const DocumentsListFoldersResponse$outboundSchema: z.ZodType<DocumentsListFoldersResponse$Outbound, z.ZodTypeDef, DocumentsListFoldersResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsListFoldersResponse$ {
    /** @deprecated use `DocumentsListFoldersResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsListFoldersResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsListFoldersResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsListFoldersResponse$Outbound, z.ZodTypeDef, DocumentsListFoldersResponse>;
    /** @deprecated use `DocumentsListFoldersResponse$Outbound` instead. */
    type Outbound = DocumentsListFoldersResponse$Outbound;
}
export declare function documentsListFoldersResponseToJSON(documentsListFoldersResponse: DocumentsListFoldersResponse): string;
export declare function documentsListFoldersResponseFromJSON(jsonString: string): SafeParseResult<DocumentsListFoldersResponse, SDKValidationError>;
//# sourceMappingURL=documentslistfolders.d.ts.map