export declare const filterSegmentsRouter: import("@trpc/server/dist/unstable-core-do-not-import").CreateRouterInner<import("@trpc/server/dist/unstable-core-do-not-import").RootConfig<{
    ctx: import("../../../createContext").InnerContext;
    meta: object;
    errorShape: {
        message: string;
        code: number;
        data: {
            code: string;
            httpStatus: number;
            path?: string;
            [key: string]: unknown;
        };
    };
    transformer: {
        stringify: (object: any) => string;
        parse: <T = unknown>(string: string) => T;
        serialize: (object: any) => import("superjson/dist/types").SuperJSONResult;
        deserialize: <T_1 = unknown>(payload: import("superjson/dist/types").SuperJSONResult) => T_1;
        registerClass: (v: import("superjson/dist/types").Class, options?: string | import("superjson/dist/class-registry").RegisterOptions | undefined) => void;
        registerSymbol: (v: Symbol, identifier?: string | undefined) => void;
        registerCustom: <I, O extends import("superjson/dist/types").JSONValue>(transformer: Omit<import("superjson/dist/custom-transformer-registry").CustomTransfomer<I, O>, "name">, name: string) => void;
        allowErrorProps: (...props: string[]) => void;
    };
}>, {
    list: import("@trpc/server/dist/unstable-core-do-not-import").QueryProcedure<{
        input: {
            tableIdentifier: string;
        };
        output: {
            segments: import('../../../../../features/data-table').FilterSegmentOutput[];
            preferredSegmentId: number | null;
        };
    }>;
    create: import("@trpc/server/dist/unstable-core-do-not-import").MutationProcedure<{
        input: {
            name: string;
            teamId: number;
            scope: "TEAM";
            tableIdentifier: string;
            perPage: number;
            activeFilters?: {
                f: string;
                v?: {
                    data: string | number;
                    type: import('../../../../../features/data-table').ColumnFilterType.SINGLE_SELECT;
                } | {
                    data: (string | number)[];
                    type: import('../../../../../features/data-table').ColumnFilterType.MULTI_SELECT;
                } | {
                    data: {
                        operator: "endsWith" | "startsWith" | "equals" | "contains" | "notEquals" | "notContains" | "isEmpty" | "isNotEmpty";
                        operand: string;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.TEXT;
                } | {
                    data: {
                        operator: "lt" | "lte" | "gt" | "gte" | "eq" | "neq";
                        operand: number;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.NUMBER;
                } | {
                    data: {
                        preset: string;
                        startDate: string | null;
                        endDate: string | null;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.DATE_RANGE;
                } | undefined;
            }[] | undefined;
            sorting?: {
                id: string;
                desc: boolean;
            }[] | undefined;
            columnVisibility?: Record<string, boolean> | undefined;
            columnSizing?: Record<string, number> | undefined;
            searchTerm?: string | null | undefined;
        } | {
            name: string;
            scope: "USER";
            tableIdentifier: string;
            perPage: number;
            activeFilters?: {
                f: string;
                v?: {
                    data: string | number;
                    type: import('../../../../../features/data-table').ColumnFilterType.SINGLE_SELECT;
                } | {
                    data: (string | number)[];
                    type: import('../../../../../features/data-table').ColumnFilterType.MULTI_SELECT;
                } | {
                    data: {
                        operator: "endsWith" | "startsWith" | "equals" | "contains" | "notEquals" | "notContains" | "isEmpty" | "isNotEmpty";
                        operand: string;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.TEXT;
                } | {
                    data: {
                        operator: "lt" | "lte" | "gt" | "gte" | "eq" | "neq";
                        operand: number;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.NUMBER;
                } | {
                    data: {
                        preset: string;
                        startDate: string | null;
                        endDate: string | null;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.DATE_RANGE;
                } | undefined;
            }[] | undefined;
            sorting?: {
                id: string;
                desc: boolean;
            }[] | undefined;
            columnVisibility?: Record<string, boolean> | undefined;
            columnSizing?: Record<string, number> | undefined;
            searchTerm?: string | null | undefined;
            teamId?: undefined;
        };
        output: {
            name: string;
            id: number;
            userId: number;
            teamId: number | null;
            createdAt: Date;
            updatedAt: Date;
            scope: import('../../../../../prisma-client').$Enums.FilterSegmentScope;
            tableIdentifier: string;
            activeFilters: import('../../../../../prisma-client').Prisma.JsonValue;
            sorting: import('../../../../../prisma-client').Prisma.JsonValue;
            columnVisibility: import('../../../../../prisma-client').Prisma.JsonValue;
            columnSizing: import('../../../../../prisma-client').Prisma.JsonValue;
            perPage: number;
            searchTerm: string | null;
        };
    }>;
    update: import("@trpc/server/dist/unstable-core-do-not-import").MutationProcedure<{
        input: {
            id: number;
            teamId: number;
            scope: "TEAM";
            name?: string | undefined;
            tableIdentifier?: string | undefined;
            activeFilters?: {
                f: string;
                v?: {
                    data: string | number;
                    type: import('../../../../../features/data-table').ColumnFilterType.SINGLE_SELECT;
                } | {
                    data: (string | number)[];
                    type: import('../../../../../features/data-table').ColumnFilterType.MULTI_SELECT;
                } | {
                    data: {
                        operator: "endsWith" | "startsWith" | "equals" | "contains" | "notEquals" | "notContains" | "isEmpty" | "isNotEmpty";
                        operand: string;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.TEXT;
                } | {
                    data: {
                        operator: "lt" | "lte" | "gt" | "gte" | "eq" | "neq";
                        operand: number;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.NUMBER;
                } | {
                    data: {
                        preset: string;
                        startDate: string | null;
                        endDate: string | null;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.DATE_RANGE;
                } | undefined;
            }[] | undefined;
            sorting?: {
                id: string;
                desc: boolean;
            }[] | undefined;
            columnVisibility?: Record<string, boolean> | undefined;
            columnSizing?: Record<string, number> | undefined;
            searchTerm?: string | null | undefined;
            perPage?: number | undefined;
        } | {
            id: number;
            scope: "USER";
            name?: string | undefined;
            tableIdentifier?: string | undefined;
            activeFilters?: {
                f: string;
                v?: {
                    data: string | number;
                    type: import('../../../../../features/data-table').ColumnFilterType.SINGLE_SELECT;
                } | {
                    data: (string | number)[];
                    type: import('../../../../../features/data-table').ColumnFilterType.MULTI_SELECT;
                } | {
                    data: {
                        operator: "endsWith" | "startsWith" | "equals" | "contains" | "notEquals" | "notContains" | "isEmpty" | "isNotEmpty";
                        operand: string;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.TEXT;
                } | {
                    data: {
                        operator: "lt" | "lte" | "gt" | "gte" | "eq" | "neq";
                        operand: number;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.NUMBER;
                } | {
                    data: {
                        preset: string;
                        startDate: string | null;
                        endDate: string | null;
                    };
                    type: import('../../../../../features/data-table').ColumnFilterType.DATE_RANGE;
                } | undefined;
            }[] | undefined;
            sorting?: {
                id: string;
                desc: boolean;
            }[] | undefined;
            columnVisibility?: Record<string, boolean> | undefined;
            columnSizing?: Record<string, number> | undefined;
            searchTerm?: string | null | undefined;
            perPage?: number | undefined;
        };
        output: {
            name: string;
            id: number;
            userId: number;
            teamId: number | null;
            createdAt: Date;
            updatedAt: Date;
            scope: import('../../../../../prisma-client').$Enums.FilterSegmentScope;
            tableIdentifier: string;
            activeFilters: import('../../../../../prisma-client').Prisma.JsonValue;
            sorting: import('../../../../../prisma-client').Prisma.JsonValue;
            columnVisibility: import('../../../../../prisma-client').Prisma.JsonValue;
            columnSizing: import('../../../../../prisma-client').Prisma.JsonValue;
            perPage: number;
            searchTerm: string | null;
        };
    }>;
    delete: import("@trpc/server/dist/unstable-core-do-not-import").MutationProcedure<{
        input: {
            id: number;
        };
        output: {
            id: number;
            message: string;
        };
    }>;
    setPreference: import("@trpc/server/dist/unstable-core-do-not-import").MutationProcedure<{
        input: {
            tableIdentifier: string;
            segmentId: number | null;
        };
        output: {
            id: number;
            userId: number;
            createdAt: Date;
            updatedAt: Date;
            tableIdentifier: string;
            segmentId: number;
        } | null;
    }>;
}>;
//# sourceMappingURL=_router.d.ts.map