import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Documents Files Filter
 */
export type DocumentsListFilesQueryParamFilter = {
    /**
     * Search if the contents of the file contains the string (contents can include file metadata)
     */
    content?: string | null | undefined;
    /**
     * Use a string with a date to only select results created after that given date
     */
    createdAfter?: Date | null | undefined;
    /**
     * Use to only include Files within the specified Drive
     */
    driveId?: string | null | undefined;
    /**
     * Use to only include Files within the specified Folder. Required when requesting nested items
     */
    folderId?: string | null | undefined;
    /**
     * Search if the name of the file contains the string
     */
    name?: string | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type DocumentsListFilesRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Documents Files Filter
     */
    filter?: DocumentsListFilesQueryParamFilter | null | undefined;
    /**
     * Use to only include Files within the specified Folder. Required when requesting nested items
     */
    folderId?: string | null | undefined;
    /**
     * The comma separated list of fields that will be included in the response
     */
    include?: string | null | undefined;
    /**
     * When "true" and used with filter[folder_id], the response includes Files and Files within descendant Folders
     */
    nestedItems?: string | 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?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
    /**
     * The session token
     */
    xStackoneApiSessionToken?: string | undefined;
};
export type DocumentsListFilesResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The list of files was retrieved.
     */
    filesPaginated?: shared.FilesPaginated | 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 type DocumentsListFilesQueryParamFilter$Outbound = {
    content?: string | null | undefined;
    created_after?: string | null | undefined;
    drive_id?: string | null | undefined;
    folder_id?: string | null | undefined;
    name?: string | null | undefined;
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const DocumentsListFilesQueryParamFilter$outboundSchema: z.ZodType<DocumentsListFilesQueryParamFilter$Outbound, z.ZodTypeDef, DocumentsListFilesQueryParamFilter>;
export declare function documentsListFilesQueryParamFilterToJSON(documentsListFilesQueryParamFilter: DocumentsListFilesQueryParamFilter): string;
/** @internal */
export type DocumentsListFilesRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: DocumentsListFilesQueryParamFilter$Outbound | null | undefined;
    folder_id?: string | null | undefined;
    include?: string | null | undefined;
    nested_items: string | null;
    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;
    "x-stackone-api-session-token"?: string | undefined;
};
/** @internal */
export declare const DocumentsListFilesRequest$outboundSchema: z.ZodType<DocumentsListFilesRequest$Outbound, z.ZodTypeDef, DocumentsListFilesRequest>;
export declare function documentsListFilesRequestToJSON(documentsListFilesRequest: DocumentsListFilesRequest): string;
/** @internal */
export declare const DocumentsListFilesResponse$inboundSchema: z.ZodType<DocumentsListFilesResponse, z.ZodTypeDef, unknown>;
export declare function documentsListFilesResponseFromJSON(jsonString: string): SafeParseResult<DocumentsListFilesResponse, SDKValidationError>;
//# sourceMappingURL=documentslistfiles.d.ts.map