import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const LookerParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"run_inline_query">;
    instance_url: z.ZodString;
    model: z.ZodString;
    explore: z.ZodString;
    fields: z.ZodArray<z.ZodString, "many">;
    filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    sorts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    model: string;
    fields: string[];
    operation: "run_inline_query";
    limit: number;
    instance_url: string;
    explore: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    sorts?: string[] | undefined;
    filters?: Record<string, string> | undefined;
}, {
    model: string;
    fields: string[];
    operation: "run_inline_query";
    instance_url: string;
    explore: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    sorts?: string[] | undefined;
    filters?: Record<string, string> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_look">;
    instance_url: z.ZodString;
    look_id: z.ZodNumber;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    result_format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "csv", "txt"]>>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_look";
    limit: number;
    instance_url: string;
    look_id: number;
    result_format: "json" | "csv" | "txt";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_look";
    instance_url: string;
    look_id: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    result_format?: "json" | "csv" | "txt" | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_dashboard">;
    instance_url: z.ZodString;
    dashboard_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_dashboard";
    instance_url: string;
    dashboard_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_dashboard";
    instance_url: string;
    dashboard_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_models">;
    instance_url: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_models";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_models";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_explores">;
    instance_url: z.ZodString;
    model: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    model: string;
    operation: "list_explores";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    model: string;
    operation: "list_explores";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_looks">;
    instance_url: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_looks";
    limit: number;
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_looks";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_dashboards">;
    instance_url: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_dashboards";
    limit: number;
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_dashboards";
    instance_url: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
}>]>;
export declare const LookerResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"run_inline_query">;
    success: z.ZodBoolean;
    data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    rowCount: z.ZodOptional<z.ZodNumber>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "run_inline_query";
    data?: Record<string, unknown>[] | undefined;
    rowCount?: number | undefined;
}, {
    error: string;
    success: boolean;
    operation: "run_inline_query";
    data?: Record<string, unknown>[] | undefined;
    rowCount?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_look">;
    success: z.ZodBoolean;
    data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    look: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        model: z.ZodOptional<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            label: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id?: string | undefined;
            label?: string | undefined;
        }, {
            id?: string | undefined;
            label?: string | undefined;
        }>>;
        space: z.ZodOptional<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            name: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name?: string | undefined;
            id?: string | undefined;
        }, {
            name?: string | undefined;
            id?: string | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }, {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }>>;
    rowCount: z.ZodOptional<z.ZodNumber>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_look";
    data?: Record<string, unknown>[] | undefined;
    rowCount?: number | undefined;
    look?: {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_look";
    data?: Record<string, unknown>[] | undefined;
    rowCount?: number | undefined;
    look?: {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_dashboard">;
    success: z.ZodBoolean;
    dashboard: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        dashboard_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodOptional<z.ZodString>;
            title: z.ZodOptional<z.ZodString>;
            type: z.ZodOptional<z.ZodString>;
            default_value: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }, {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }>, "many">>;
        dashboard_elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            title: z.ZodOptional<z.ZodString>;
            type: z.ZodOptional<z.ZodString>;
            look_id: z.ZodOptional<z.ZodNumber>;
            query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }, {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        dashboard_filters?: {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }[] | undefined;
        dashboard_elements?: {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }[] | undefined;
    }, {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        dashboard_filters?: {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }[] | undefined;
        dashboard_elements?: {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }[] | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_dashboard";
    dashboard?: {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        dashboard_filters?: {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }[] | undefined;
        dashboard_elements?: {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }[] | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_dashboard";
    dashboard?: {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        dashboard_filters?: {
            type?: string | undefined;
            title?: string | undefined;
            name?: string | undefined;
            default_value?: string | undefined;
        }[] | undefined;
        dashboard_elements?: {
            type?: string | undefined;
            title?: string | undefined;
            id?: string | undefined;
            query?: Record<string, unknown> | undefined;
            look_id?: number | undefined;
        }[] | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_models">;
    success: z.ZodBoolean;
    models: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        label: z.ZodOptional<z.ZodString>;
        explores: z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            label: z.ZodOptional<z.ZodString>;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }, {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        label?: string | undefined;
        explores?: {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }[] | undefined;
    }, {
        name: string;
        label?: string | undefined;
        explores?: {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }[] | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_models";
    models?: {
        name: string;
        label?: string | undefined;
        explores?: {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }[] | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_models";
    models?: {
        name: string;
        label?: string | undefined;
        explores?: {
            name: string;
            description?: string | undefined;
            label?: string | undefined;
        }[] | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_explores">;
    success: z.ZodBoolean;
    explores: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        label: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        fields: z.ZodOptional<z.ZodObject<{
            dimensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
                name: z.ZodString;
                label: z.ZodOptional<z.ZodString>;
                type: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }, {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }>, "many">>;
            measures: z.ZodOptional<z.ZodArray<z.ZodObject<{
                name: z.ZodString;
                label: z.ZodOptional<z.ZodString>;
                type: z.ZodOptional<z.ZodString>;
                description: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }, {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }>, "many">>;
        }, "strip", z.ZodTypeAny, {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        }, {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        description?: string | undefined;
        fields?: {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        } | undefined;
        label?: string | undefined;
    }, {
        name: string;
        description?: string | undefined;
        fields?: {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        } | undefined;
        label?: string | undefined;
    }>, "many">>;
    model: z.ZodOptional<z.ZodString>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_explores";
    model?: string | undefined;
    explores?: {
        name: string;
        description?: string | undefined;
        fields?: {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        } | undefined;
        label?: string | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_explores";
    model?: string | undefined;
    explores?: {
        name: string;
        description?: string | undefined;
        fields?: {
            dimensions?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
            measures?: {
                name: string;
                type?: string | undefined;
                description?: string | undefined;
                label?: string | undefined;
            }[] | undefined;
        } | undefined;
        label?: string | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_looks">;
    success: z.ZodBoolean;
    looks: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        model: z.ZodOptional<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            label: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id?: string | undefined;
            label?: string | undefined;
        }, {
            id?: string | undefined;
            label?: string | undefined;
        }>>;
        space: z.ZodOptional<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            name: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name?: string | undefined;
            id?: string | undefined;
        }, {
            name?: string | undefined;
            id?: string | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }, {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }>, "many">>;
    totalCount: z.ZodOptional<z.ZodNumber>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_looks";
    looks?: {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }[] | undefined;
    totalCount?: number | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_looks";
    looks?: {
        id: number;
        description?: string | undefined;
        title?: string | undefined;
        model?: {
            id?: string | undefined;
            label?: string | undefined;
        } | undefined;
        space?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }[] | undefined;
    totalCount?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_dashboards">;
    success: z.ZodBoolean;
    dashboards: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        folder: z.ZodOptional<z.ZodObject<{
            id: z.ZodOptional<z.ZodString>;
            name: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name?: string | undefined;
            id?: string | undefined;
        }, {
            name?: string | undefined;
            id?: string | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        folder?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }, {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        folder?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }>, "many">>;
    totalCount: z.ZodOptional<z.ZodNumber>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_dashboards";
    totalCount?: number | undefined;
    dashboards?: {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        folder?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_dashboards";
    totalCount?: number | undefined;
    dashboards?: {
        id: string;
        description?: string | undefined;
        title?: string | undefined;
        folder?: {
            name?: string | undefined;
            id?: string | undefined;
        } | undefined;
    }[] | undefined;
}>]>;
export type LookerParams = z.output<typeof LookerParamsSchema>;
export type LookerParamsInput = z.input<typeof LookerParamsSchema>;
export type LookerResult = z.output<typeof LookerResultSchema>;
//# sourceMappingURL=looker.schema.d.ts.map