import { Domain, ListParam } from '@things-factory/shell';
import { User } from '@things-factory/auth-base';
import { DesignPackage } from './design-package';
import { DesignPackageList } from './design-package-type';
export declare class DesignPackageQuery {
    designPackage(id: string, context: ResolverContext): Promise<DesignPackage>;
    designPackagesCreatedByMe(params: ListParam, context: ResolverContext): Promise<DesignPackageList>;
    designPackages(params: ListParam, context: ResolverContext): Promise<DesignPackageList>;
    mine(designPackage: DesignPackage, context: ResolverContext): Promise<boolean>;
    domain(designPackage: DesignPackage): Promise<Domain>;
    updater(designPackage: DesignPackage): Promise<User>;
    creator(designPackage: DesignPackage): Promise<User>;
}
