import { BaseFileEntity, BaseResponse, CommonDeleteParams, CommonFetchParams, CommonPublishParams, PaginationReqParams, Relation } from '@/types/index';
export interface StaticVariableProps {
    type: string;
    value: {
        [name: string]: string;
    };
}
export interface FunctionVariableProps {
    function: string;
    args: Array<string | {
        [name: string]: string;
    }>;
}
export interface VariableContentEntity {
    id: string;
    schemas: Array<{
        type: string;
        name: string;
        props: StaticVariableProps | FunctionVariableProps;
    }>;
    relation: Relation;
}
export interface VariableEntity extends BaseFileEntity<VariableContentEntity> {
}
export interface VariableSearchParams extends PaginationReqParams {
    applicationId: string;
    id?: string;
    names: string[];
}
export interface VariableSaveParams {
    successCb?: () => void;
    folderId?: string;
    applicationId: string;
}
export declare type VariableDeleteParams = CommonDeleteParams;
export interface VariablesFetchParams extends Omit<CommonFetchParams, 'organizationId'> {
    folderId?: string;
    type?: string;
}
export interface AppVariablesFetchResponse extends BaseResponse<VariableEntity> {
    list: VariableEntity[];
}
export declare type VariablePublishParams = CommonPublishParams;
